import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams } from 'ionic-angular';
import { HttpProvider } from '../../providers/http/http';
import { StorageProvider } from '../../providers/storage/storage';
import { DialogProvider } from '../../providers/dialog/dialog';
/**
 * Generated class for the Office page.
 *
 * See http://ionicframework.com/docs/components/#navigation for more info
 * on Ionic pages and navigation.
 */
@IonicPage()
@Component({
	selector: 'page-office',
	templateUrl: 'office.html',
})
export class OfficePage {

	constructor(
		public navCtrl: NavController,
		public navParams: NavParams,
		public http: HttpProvider,
		public storage: StorageProvider,
		public dialog: DialogProvider) {
	}
	ionViewDidLoad() {
		console.log('ionViewDidLoad OfficePage');
	}

	/*成本费用*/
	openCost() {
		this.navCtrl.push("CostPage");
	}

	/*行政办公*/
	openAssistant() {
		this.navCtrl.push("AssistantPage");
	}

	/*人力资源*/
	openResources() {
		this.navCtrl.push("ResourcesPage");
	}

	/*在途跟踪*/
	openTracking() {
		this.navCtrl.push("TrackingPage");
	}
}